<script setup lang="ts">
const props = defineProps < {
  title?: string;
} > ();

function back() {
  uni.navigateBack({ delta: 1 });
}
</script>

<template>
  <nut-navbar :title="props.title">
    <template #left>
      <nut-icon name="left" @click="back" />
    </template>
  </nut-navbar>
</template>

<style lang="scss"></style>

<route lang="json">
</route>
